//
//  RadioPlayerEngine.m
//  HuLaQuan
//
//  Created by hok on 1/19/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import "RadioPlayerEngine.h"

@implementation RadioPlayerEngine

+ (RadioPlayerEngine *)sharedInstance{
    // 1
    static RadioPlayerEngine *_sharedInstance = nil;
    
    // 2
    static dispatch_once_t oncePredicate;
    
    // 3
    dispatch_once(&oncePredicate, ^{
        _sharedInstance = [[RadioPlayerEngine alloc] init];
    });
    return _sharedInstance;
    
}
@end
